﻿namespace YTPD.Lib
{
  public class LocalFile
  {
    public string FileName { get; set; }
    public long TotalTime { get; set; }

    public string GetFileName()
    {
      return string.IsNullOrEmpty(FileName) ? string.Empty : FileName;
    }
  }

  public class LocalFlvFile : LocalFile
  {
    ~LocalFlvFile()
    {
      Utilities.TryDeleteFile(FileName);
    }
  }

  public class LocalVideoFile : LocalFile
  { }

  public class LocalAudioFile : LocalFile
  { }
}
